﻿
<div id="leftPanel" style="position: absolute; z-index: 1; left: 0px;top: 0px; width: 250px; height: 100%;">
    <div id="navbar">
         <div class="navbar-inner-area">
             

             <ul class="nav-area clearfix">
                 
                  @if (Request.IsAuthenticated)
              {
                  <div class="LoginOut" >
                      
                       @using (Html.BeginForm("LogOff", "Home", FormMethod.Post, new { id = "logoutForm" }))
                       {
                            @Html.AntiForgeryToken()
                            <a href="javascript:document.getElementById('logoutForm').submit()">退出</a>
                       }
                  </div>
              }
                 <li class="sitemapNode sitemapExpandableNode">
                     <div> <span>基本功能</span></div>
                     <ul class="nav-area clearfix">
                         <li class="sitemapNode sitemapLeafNode">
                             @Html.ActionLink("销售单导入","Index","ImportSalesOrder",null , new { Class = Html.ViewContext.RouteData.Values["controller"].ToString() == "ImportSalesOrder" ? "navon" : string.Empty })
                          </li>
                         <li class="sitemapNode sitemapLeafNode">
                             @Html.ActionLink("订货单导入","Index","ImportPurchaseOrder",null , new { Class = Html.ViewContext.RouteData.Values["controller"].ToString() == "ImportPurchaseOrder" ? "navon" : string.Empty })
                          </li>
                         </ul>   
                     </li>
                  <li class="sitemapNode sitemapExpandableNode">
                     <div> <span>管理功能</span></div>
                     <ul class="nav-area clearfix">
                         
                         <li class="sitemapNode sitemapLeafNode">
                             @Html.ActionLink("重置密码","ResetPassword","User",null , new { Class = Html.ViewContext.RouteData.Values["action"].ToString() == "ResetPassword" ? "navon" : string.Empty })
                         </li> 
                     </ul>   
                 </li>
                 </ul>
             
    </div>
    </div>
      </div>


